package com.fount4j.generator.introspect;

/**
 * 根据数据库类型转为 MyBatis 的 jdbcType 和实体类属性的类型
 *
 * @author Morven 2016/12/21
 */
public class JdbcTypeInformation {
    private String jdbcType;
    private Class<?> javaType;

    public JdbcTypeInformation(String jdbcType, Class<?> javaType) {
        this.jdbcType = jdbcType;
        this.javaType = javaType;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public Class<?> getJavaType() {
        return javaType;
    }
}
